package com.lagou.ex.mybatis.base.service;

import com.lagou.ex.mybatis.base.model.UserModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IUserService  {

    /**
     * 根据手机号码查询
     *
     * @param phone
     * @return 用户列表
     */
    List<UserModel> queryByPhone(@Param("phone") String phone);

    boolean createUser(UserModel userModel);

}
